<?php

echo $form->create('Menu');
echo $form->input("Menu.nombre", array('id' => 'usr'));
echo $form->input("Menu.url", array('id' => 'usr'));
echo $form->input("Menu.icono", array('id' => 'usr'));
echo $form->input("Menu.order", array('id' => 'usr'));
echo $form->input("Menu.tab_id");
echo $ajax->submit('Submit', array('url' => array('controller' => 'Menus', 'action' => 'add'), 'update' => 'content', 'complete' => 'cargar()', 'loading' => "$('#loader').show();", 'loaded' => "$('#loader').hide();cargar();"));
echo $form->end();
echo $html->link("salir", array("action" => "logout"))
?>
